package com.vca.common.response;


import com.vca.common.vo.PreOrderCommonVo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * 订单详情响应对象
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="StoreOrderInfoResponse对象", description="订单详情响应对象")
public class StoreOrderInfoResponse implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "订单ID")
    private Integer id;

    @ApiModelProperty(value = "订单号")
    private String orderId;

    @ApiModelProperty(value = "用户id")
    private Integer uid;

    @ApiModelProperty(value = "收货人姓名")
    private String realName;

    @ApiModelProperty(value = "收货人手机号")
    private String phone;

    @ApiModelProperty(value = "收货地址")
    private String userAddress;

    @ApiModelProperty(value = "订单商品总数")
    private Integer totalNum;

    @ApiModelProperty(value = "订单总价")
    private BigDecimal totalPrice;

    @ApiModelProperty(value = "实际支付金额")
    private BigDecimal payPrice;

    @ApiModelProperty(value = "抵扣金额")
    private BigDecimal deductionPrice;

    @ApiModelProperty(value = "礼品卡id")
    private Integer couponId;

    @ApiModelProperty(value = "礼品卡卡号")
    private String cardNo;

    @ApiModelProperty(value = "礼品卡金额")
    private BigDecimal couponPrice;

    @ApiModelProperty(value = "支付方式")
    private String payType;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "订单状态（0：待发货；1：待收货【已预约（未参与）】；2：已收货，待评价【已参与】；3：已完成；）")
    private Integer status;

    @ApiModelProperty(value = "订单类型:0-课程订单 1=套课订单 2=讲座订单 3=展览订单 4=商品订单")
    private Integer type;

    @ApiModelProperty(value = "讲座类型 1=线下讲座 2=线上讲座")
    private Integer talkType;

    @ApiModelProperty(value = "订单类型")
    private String orderType;

    @ApiModelProperty(value = "0 未退款 1 申请中 2 已退款")
    private Integer refundStatus;

    @ApiModelProperty(value = "快递名称")
    private String deliveryName;

    @ApiModelProperty(value = "发货类型")
    private String deliveryType;

    @ApiModelProperty(value = "快递单号/手机号")
    private String deliveryId;

    @ApiModelProperty(value = "备注")
    private String mark;

    @ApiModelProperty(value = "是否删除")
    private Boolean isDel;

    @ApiModelProperty(value = "管理员备注")
    private String remark;

    @ApiModelProperty(value = "退款金额")
    private BigDecimal refundPrice;

    @ApiModelProperty(value = "给用户退了多少积分")
    private Integer backIntegral;

    @ApiModelProperty(value = "配送方式 1=快递 ，2=门店自提")
    private Integer shippingType;

    @ApiModelProperty(value = "订单状态")
    private Map<String, String> statusStr;

    @ApiModelProperty(value = "支付方式")
    private String payTypeStr;

    @ApiModelProperty(value = "用户姓名")
    private String userName;

    @ApiModelProperty(value = "用户手机号")
    private String userPhone;

    @ApiModelProperty(value = "用户邮箱")
    private String userEmail;

    @ApiModelProperty(value = "用户昵称")
    private String nikeName;

    @ApiModelProperty(value = "商品信息")
    private List<PreOrderCommonVo.PreOrderProductDetail> preOrderProductDetails = new ArrayList<>();

    @ApiModelProperty(value = "课程/套课/讲座/展览信息")
    private PreOrderCommonVo.CourseInfoDetail courseInfoDetails ;

    @ApiModelProperty(value = "商品总价")
    private BigDecimal proTotalPrice;

    @ApiModelProperty(value = "退款申请时间")
    private Date refundApplicationTime;

    @ApiModelProperty(value = "退款时间")
    private Date refundReasonTime;

    @ApiModelProperty(value = "物流状态")
    private String LogisticsStatus;

    @ApiModelProperty(value = "运单号")
    private String masterWaybillNo;

    @ApiModelProperty(value = "发货时间")
    private Date deliveryTime;

    @ApiModelProperty(value = "预约人")
    private Integer lecturer;

    @ApiModelProperty(value = "预约人电话")
    private String lecturerPhone;

    @ApiModelProperty(value = "预约人姓名")
    private String lecturerName;

    @ApiModelProperty(value = "预约人邮箱")
    private String lecturerEmail;

    @ApiModelProperty(value = "预约人数")
    private Integer lecturerNum;

    @ApiModelProperty(value = "观看平台")
    private String viewingPlatformName;

    @ApiModelProperty(value = "开票状态  0=未申请 1=已申请")
    private Integer invoicingStatus;

    @ApiModelProperty(value = "是否为礼品卡订单 1=是 0=否")
    private Integer isGiftCard;

    @ApiModelProperty(value = "排期日期")
    private String schedulingDate;

    @ApiModelProperty(value = "排期当天开始时间")
    private String schedulingStartTime;

    @ApiModelProperty(value = "排期当天结束时间")
    private String schedulingEndTime;

    @ApiModelProperty(value = "语言")
    private String language;


}
